package com.spsoft.vatoutinv.model.dto.vmsiscinformation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @description: 调用乐企接口的确认和上传接口
 * @author: liwm
 * @create: 2024-01-18 14:35
 **/
@Data
@ApiModel(value = "VmsIscInformationUpOrCancelDto", description = "调用乐企接口的确认和上传接口")
@EqualsAndHashCode
@Accessors(chain = true)
public class VmsIscInformationUpOrCancelDto extends VmsIscInformationDto{
    /**
     * 业务类型
     * 接口入参“业务类型”选择“1：取消”
     * 接口入参“业务类型”选择“0：确认”
     */
    String ywlx;

    /**
     * 蓝字发票数量
     * 业务类型为 “0”时必填
     */
    @ApiModelProperty(value = "蓝字发票数量")
    private BigDecimal lzfpsl;

    /**
     * 蓝字发票金额
     * 业务类型为 “0”时必填
     */
    @ApiModelProperty(value = "蓝字发票金额")
    private BigDecimal lzfpje;

    /**
     * 蓝字发票税额
     * 业务类型为 “0”时必填
     */
    @ApiModelProperty(value = "蓝字发票税额")
    private BigDecimal lzfpse;

    /**
     * 红字发票数量
     * 业务类型为 “0”时必填
     */
    @ApiModelProperty(value = "红字发票数量")
    private BigDecimal hzfpsl;

    /**
     * 红字发票金额
     * 业务类型为 “0”时必填
     */
    @ApiModelProperty(value = "红字发票金额")
    private BigDecimal hzfpje;

    /**
     * 红字发票税额
     * 业务类型为 “0”时必填
     */
    @ApiModelProperty(value = "红字发票税额")
    private BigDecimal hzfpse;
}
